package nxu.it;

import com.fasterxml.jackson.annotation.JsonInclude;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class SignResult {

    private String sno;
    private boolean success = false;
    private String message = "远程调用出错，请联系老师";

    public SignResult() {
    }

    public SignResult(/*String sno, */boolean success, String message) {
      //  this.sno = sno;
        this.success = success;
        this.message = message;
    }

   /* public String getSno() {
        return sno;
    }

    public SignResult setSno(String sno) {
        this.sno = sno;
        return this;
    }*/

    public boolean isSuccess() {
        return success;
    }

    public SignResult setSuccess(boolean success) {
        this.success = success;
        return this;
    }

    public String getMessage() {
        return message;
    }

    public SignResult setMessage(String message) {
        this.message = message;
        return this;
    }
}
